﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DetectScars.Menus
{
    public partial class SaveForm : Form
    {
        public SaveForm()
        {
            InitializeComponent();
            this.StartPosition = FormStartPosition.CenterScreen;
        }

        string Name;
        internal string GetName()
        {
            return Name;
        }
        private void button1_Click(object sender, EventArgs e)
        {
            string name = textBox1.Text;
            if (name == "")
            {
                MessageBox.Show("请输入你要保存参数套餐的名称");
            }
            Name = name;
            DialogResult = DialogResult.OK;
        }
    }
}
